<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
    <body>
        <form action="${pageContext.request.contextPath}/reg.action" method="post">
            UserName
            <label>
                <input type="text" name="user.name"/>
            </label>
            <br>
            Password
            <label>
                <input type="password" name="user.password"/>
            </label>
            <br>
            <label>
                <input type="submit" value="reg"/>
            </label>
        </form>
    </body>
</html>
